package mysql

import "gorm.io/gorm"

type Pre struct {
	gorm.Model
	UserId  int64  `gorm:"type:int(11);not null"`
	HouseId int64  `gorm:"type:int(11);not null"`
	PreTime string `gorm:"type:varchar(255);not null"`
	Status  string `gorm:"type:varchar(30);not null"`
}

type PreUser struct {
	Pre
	UserMobile   string `gorm:"type:varchar(30);not null"`
	UserName     string `gorm:"type:varchar(30);not null"`
	HouseTitle   string `gorm:"type:varchar(30);not null"`
	HouseAddress string `gorm:"type:varchar(50);not null"`
	HouseArea    int64  `gorm:"type:int;not null"`
}
